/** payinfo.js */

Page({

  /**
   * 页面的初始数据
   */
  data: {
    payAmount:'',
    orderCode:''
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.setData({
      payAmount: typeof (options.payAmount) == "undefined" ? '' : options.payAmount,
      orderCode: typeof (options.orderCode) == "undefined" ? '' : options.orderCode
    })
  },
  shopping:function(){
    wx.switchTab({
      url: '/pages/index/index'
    })
  },
  checkOrder:function(){
    wx.switchTab({
      url: '/pages/userCenter/userCenter'
    })
  }
})